import React, { Component } from 'react'
// 使用高阶组件实现
import PropUsername from './username'
export class login extends Component {
  render() {
    return (
      <div>
        <h1>
        login
        </h1>
        <p>{this.props.username}登录了</p>
        </div>
    )
  }
}

export default PropUsername(login)